/*
 * Copyright (C) 2005, Velocityme Partnership
 * SearchOthersResponsibilityActionForm.java
 *
 * Created on 10 June 2005, 08:46
 */

package com.velocityme.www.actionforms;

import java.util.ArrayList;
import java.util.Collection;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author  Robert
 */
public class SearchOthersResponsibilityActionForm extends ActionForm {
    
    private Long m_nodeId;
    private Collection<Long> m_contactableIds;
    private Boolean m_includeDescendents;
    
    /** Creates a new instance of SearchOthersResponsibilityActionForm */
    public SearchOthersResponsibilityActionForm() {
    }
    
    @Override
    public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) {
        m_contactableIds = new ArrayList<Long>();
        m_includeDescendents = new Boolean(false);
   }
    
    public Long getNodeId() {
        return m_nodeId;
    }
    
    public void setNodeId(Long nodeId) {
        m_nodeId = nodeId;
    }
    
    public Collection<Long> getContactableIds() {
        return m_contactableIds;
    }
    
    public void setContactableIds(Collection<Long> contactableIds) {
        m_contactableIds = contactableIds;
    }
    
    public Boolean getIncludeDescendents() { return m_includeDescendents; }
    public void setIncludeDescendents(Boolean includeDescendents) { m_includeDescendents = includeDescendents; }
    
}
